//获取教师列表信息的类型
export interface teacherListData{
    id:number,
    teacherName:string,
    post:number,
    performance:number,
    createTime:string,
    updateTime:string,
}
export interface teacherData{
    total:number,
    rows:teacherListData
}
export interface teacherListDataArr{
    teacher:teacherData
}
export interface getTeacherReturn {
    code: number,
    messages: string,
    data:teacherListDataArr
}
//添加教师的返回类型
export interface addTeacherReturn{
    code: number,
    messages: string,
    data?:null
}
//删除教师的返回类型
export interface delTeacherReturn{
    code: number,
    messages: string,
    data?:null
}
//修改教师的返回类型
export interface editTeahcerReturn{
    code: number,
    messages: string,
}
//搜索的数据类型
export interface queryTeacherType{
    code: number,
    messages: string,
    data:{
        teacher:teacherListData
    }
}